import request from '../utils/request'


export function getToolsList(param) {
    return request({
        url: '/tool/list',
        method: 'get',
        params: {
            pageNum: param.pageNum,
            pageSize: param.pageSize,
            keyword: param.keyword,
            toolCategoryId: param.toolCategoryId
        }
    })
}


export function increaseDownloadCount(id) {
    return request({
        url: '/tool/increase',
        method: 'get',
        params: {
           id:id
        }
    })
}